import http from "../utils/http.js"

export function login(params){
	return http.post("/users/login",params);
}

export function regtis(params){
	return http.post("/users/regist",params);
}
export function list(params){
	return http.get("/users/list",params);
}
export function update(params){
	return http.post("/users/update",params);
}
export function del(params){
	return http.delete("/users/del",params);
}
export function like(params){
	return http.get("/users/like",params);
}